Skip to content

HIVE-28362: Fail to materialize a CTE with VOID#5335

Closed
okumin wants to merge 1 commit intoapache:masterfrom
okumin:HIVE-28362-cte-mat-null
Closed

HIVE-28362: Fail to materialize a CTE with VOID#5335
okumin wants to merge 1 commit intoapache:masterfrom
okumin:HIVE-28362-cte-mat-null

Conversation

@okumin
Copy link
Contributor

@okumin okumin commented Jul 5, 2024

What changes were proposed in this pull request?

Allow materialized CTEs to hold NULL literals.
https://issues.apache.org/jira/browse/HIVE-28362

Why are the changes needed?

Materialized CTEs should keep the original semantics of the CTEs. Regular CTEs allow a VOID type, then materialized CTEs also allow it.

Does this PR introduce any user-facing change?

No

Is the change a dependency upgrade?

No

How was this patch tested?

Tested by the new qtest.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 5, 2024

@okumin
Copy link
Contributor Author

okumin commented Jul 5, 2024

Based on the discussion in JIRA, it is not a good idea to accept VOID because some data formats like Parquet or ORC don't support it.

@okumin okumin closed this Jul 5, 2024
@okumin okumin deleted the HIVE-28362-cte-mat-null branch July 5, 2024 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants